/**
 * 该文件封装一些操作Token的方法
 */

export const getToken = () => {
  return localStorage.getItem("token");
};

export const setToken = (token) => {
  localStorage.setItem("token", token);
};

export const delToken = () => {
  localStorage.removeItem("token");
};
